package driver;

import businesslogicservice.ChooseCourseBLService;
import businesslogicservice.ChooseCourseBLService_Stub;
import businesslogicservice.CourseBLService;
import businesslogicservice.CourseBLService_Stub;
import businesslogicservice.FrameworkBLService;
import businesslogicservice.FrameworkBLService_Stub;
import businesslogicservice.TeachPlanBLService_Stub;
import businesslogicservice.TeachPlanblservice;
import businesslogicservice.UserBLService;
import businesslogicservice.UserBLService_Stub;

public class Client {
	public static void main(String[] args) {
		
		UserBLService userBLService=new UserBLService_Stub(12345678, "zx", 03, "abc123");
		UserBLService_Driver userBLService_Driver=new UserBLService_Driver();
		userBLService_Driver.drive(userBLService);
		System.out.println("---------------------------------------------");
		FrameworkBLService frameworkBLService=new FrameworkBLService_Stub(120, 14, 60);
		FrameworkBLService_Driver frameworkBLService_Driver=new FrameworkBLService_Driver();
		frameworkBLService_Driver.drive(frameworkBLService);
		System.out.println("---------------------------------------------");
		CourseBLService courseBLService=new CourseBLService_Stub();
		CourseBLSevice_Driver courseBLSevice_Driver=new CourseBLSevice_Driver();
		courseBLSevice_Driver.drive(courseBLService);
		System.out.println("---------------------------------------------");
		TeachPlanblservice teachPlanblservice =new TeachPlanBLService_Stub(0001, 20);
		TeachPlanBLService_Driver teachPlanBLService_Driver=new TeachPlanBLService_Driver();
		teachPlanBLService_Driver.drive(teachPlanblservice);
		System.out.println("---------------------------------------------");
		ChooseCourseBLService chooseCourseBLService=new ChooseCourseBLService_Stub(90, 0003, "zx", 0001, "Math");
		ChooseCourseBlService_Driver chooseCourseBlService_Driver=new ChooseCourseBlService_Driver();
		chooseCourseBlService_Driver.driver(chooseCourseBLService);
		
	}

}
